- 
		Home
	
- 
CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)
- 
3.0.9
- 
Code
- 
Classes
-  Banner 
		
			
				
					
													
								
																			
											| Total Complexity | 99 | 
																			
											| Dependencies | 1 | 
																			
											| Dependents | 5 | 
																	
							 
													
								
																			
											| Total lines | 503 | 
																			
											| Lines of code | 278 | 
																			
											| Logical lines of code | 164 | 
																	
							 
													
								
																			
											| Comment lines | 194 | 
																			
											| Methods | 30 | 
																			
											| Properties | 2 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 30
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| sanitize_option() | B | 47 | 22 | 33 | 
					
				| get_contents() | A | 54 | 8 | 19 | 
					
				| sanitize_settings() | S | 55 | 6 | 20 | 
					
				| sanitize_contents() | S | 57 | 6 | 16 | 
					
				| compare() | S | 59 | 5 | 13 | 
					
				| get_translations() | S | 59 | 5 | 12 | 
					
				| __construct() | S | 61 | 4 | 13 | 
					
				| set_contents() | S | 62 | 4 | 11 | 
					
				| get_settings() | S | 62 | 4 | 11 | 
					
				| set_data() | S | 59 | 2 | 15 | 
					
				| get_language() | S | 70 | 3 | 6 | 
					
				| get_template() | S | 61 | 2 | 13 | 
					
				| sanitize_content() | S | 64 | 2 | 11 | 
					
				| get_data_from_db() | S | 67 | 2 | 8 | 
					
				| set_settings() | S | 68 | 2 | 7 | 
					
				| set_default() | S | 70 | 2 | 6 | 
					
				| set_status() | S | 70 | 2 | 6 | 
					
				| get_type() | S | 74 | 2 | 4 | 
					
				| get_law() | S | 74 | 2 | 4 | 
					
				| array_has_key() | S | 70 | 2 | 6 | 
					
				| get_default_contents() | S | 65 | 2 | 8 | 
					
				| get_selected_languages() | S | 74 | 2 | 4 | 
					
				| read_direct() | S | 81 | 1 | 3 | 
					
				| read() | S | 73 | 1 | 5 | 
					
				| create() | S | 81 | 1 | 3 | 
					
				| update() | S | 81 | 1 | 3 | 
					
				| get_excludes() | S | 67 | 1 | 9 | 
					
				| get_default() | S | 80 | 1 | 3 | 
					
				| get_status() | S | 80 | 1 | 3 | 
					
				| array_empty_assoc() | S | 80 | 1 | 3 |